package com.lt.interactive.wechat.service;

import com.lt.bcra.exception.BaseException;
import com.lt.bcra.result.ResultData;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

public interface WechatService {
    /**
     * 获取微信登录参数，扫描二维码
     * @return
     * @throws
     */
    ResultData getQrCode() throws BaseException;

    void callBack(String code, String state,HttpServletResponse response,HttpServletRequest request) throws IOException;
}
